Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Simplify revoking permission in default executor #5239

Conversation

dima74
Copy link
Contributor

@dima74 dima74 commented Nov 15, 2024

While working on #4087, I noticed that in default executor we have a relatively complex code fragment related to revoking permissions that has been duplicated four times. In #4087, I need it to be duplicated a fifth time, so I think it is worth abstracting it into a separate function.

@dima74 dima74 self-assigned this Nov 15, 2024
@dima74 dima74 force-pushed the diralik/refactor-default-executor-revoke-permissions branch from 8defa8a to 35dfb50 Compare November 15, 2024 17:41
mversic
mversic previously approved these changes Nov 16, 2024
@s8sato s8sato self-assigned this Nov 18, 2024
s8sato
s8sato previously approved these changes Nov 18, 2024
crates/iroha_executor/src/permission.rs Outdated Show resolved Hide resolved
@dima74 dima74 dismissed stale reviews from s8sato and mversic via de8c7a5 November 18, 2024 14:25
@dima74 dima74 force-pushed the diralik/refactor-default-executor-revoke-permissions branch from 35dfb50 to de8c7a5 Compare November 18, 2024 14:25
@mversic mversic force-pushed the diralik/refactor-default-executor-revoke-permissions branch from de8c7a5 to e71898c Compare November 19, 2024 08:05
@mversic mversic self-assigned this Nov 19, 2024
@mversic mversic merged commit 6df8a84 into hyperledger-iroha:main Nov 19, 2024
15 of 16 checks passed
@dima74 dima74 deleted the diralik/refactor-default-executor-revoke-permissions branch November 19, 2024 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants